package com.eamois.service.sys.impl;

import java.util.Collection;

import com.eamois.dao.sys.SubMaterialTypeDao;
import com.eamois.domain.sys.SubMaterialType;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.sys.SubMaterialTypeService;

public class SubMaterialTypeServiceImpl extends BaseServiceImpl<SubMaterialType, SubMaterialTypeDao> implements SubMaterialTypeService{

	@Override
	public Collection<SubMaterialType> findRootType() {
		// TODO Auto-generated method stub
		return this.getDao().findRootType();
	}

	@Override
	public Collection<SubMaterialType> findTypeByParent(
			SubMaterialType subMaterialType) {
		// TODO Auto-generated method stub
		return this.getDao().findTypeByParent(subMaterialType);
	}

	@Override
	public SubMaterialType findTypeByName(String name) {
		// TODO Auto-generated method stub
		return this.getDao().findTypeByName(name);
	}

}
